<?php


namespace gizwits\src\Routers\App;


use gizwits\src\Init;
use gizwits\src\Request\Delete;
use gizwits\src\Request\Put;

/**
 * Class ShareCancel
 * @package gizwits\src\Routers\App
 * @see http://docs.gizwits.com/zh-cn/Cloud/openapi_apps.html#%E5%8F%96%E6%B6%88-%E6%94%B6%E5%9B%9E%E5%88%86%E4%BA%AB
 * @method ShareCancel _id(int $id) 分享记录id
 * @see http://docs.gizwits.com/zh-cn/Cloud/openapi_apps.html#%E6%8E%A5%E5%8F%97-%E6%8B%92%E7%BB%9D%E5%88%86%E4%BA%AB
 * @see 拒绝分享
 * @method ShareCancel _status(int $status) 接受/拒绝分享，1：接受分享，2：拒绝分享
 */
class ShareCancel extends Init
{
    use Delete, Put;

    const SHARE_OP_STATUS_NORMAL = 1;

    const SHARE_OP_STATUS_REFUSE = 2;

    protected $router = 'app/sharing/{id}';
}